package com.cty.pojo;

import org.apache.log4j.Logger;

/**
 * @Auther: cty
 * @Date: 2020/3/5 21:22
 * @Description: Desk实体类
 * @version: 1.0
 */
public class Desk {
    Logger log = Logger.getLogger(Desk.class);

    private int id;
    private double price;

    public Desk() {
        super();
        log.debug("执行Desk无参构造");
    }

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    @Override
    public String toString() {
        return "Desk [id=" + id + ", price=" + price + "]";
    }
}
